package com.gmail.theredfaceone.cp.client;

public enum RCPCommandType{

    //Contains the IDs for each command. WIP, obviously.
    //TODO other commands
    SHUTDOWN(0), RELOAD(1);

    private int id;

    RCPCommandType(int id){
        this.id = id;
    }

    /**
     * Retrieves the ID of the command.
     *
     * @return The command ID
     */
    public int getID(){
        return id;
    }

    /**
     * Sets the ID of the command.
     *
     * @param id The command ID
     */
    public void setID(int id){
        this.id = id;
    }
}
